package chapter13;

/**
 * @author : DuJiabao
 * @Date : 2021/2/21 15:28
 * @Project : thinking-in-java
 * @File : null.java
 * @Desc :
 */
public class StringFormatTest {
  public static void main(String[] args) {
    String s = String.format("%-15.5s, %.2f", "nihaoshijie", 12.5668945);
    System.out.println(s);
  }
}
